package com.logistics.team3.po;
// default package

import java.util.HashSet;
import java.util.Set;


/**
 * 部门信息表
 * Department entity. @author MyEclipse Persistence Tools
 */

public class Department  implements java.io.Serializable {


    // Fields    

     private String id;
     /**
      *部门编号 
      */
     private String dpnumber;
     /**
      *部门名字 
      */
     private String name;
     private Set employees = new HashSet(0);


    // Constructors

    /** default constructor */
    public Department() {
    }

    
    /** full constructor */
    public Department(String dpnumber, String name, Set employees) {
        this.dpnumber = dpnumber;
        this.name = name;
        this.employees = employees;
    }

   
    // Property accessors

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public String getDpnumber() {
        return this.dpnumber;
    }
    
    public void setDpnumber(String dpnumber) {
        this.dpnumber = dpnumber;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public Set getEmployees() {
        return this.employees;
    }
    
    public void setEmployees(Set employees) {
        this.employees = employees;
    }
}